package com.container.app.testclasses.providerexample;

import com.container.app.annotations.Component;

import java.util.Random;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 7/13/12
 * Time: 9:27 AM
 */
@Component
public class RandomPickingInt extends RandomPicking {

    public RandomPickingInt() {
        phony = 98;
    }

    public Integer pick() {
        return new Random().nextInt(max);
    }

    @Override
    public Number pickPhony() {
        return phony;
    }

}
